package mock;

public class Pepsi {
    
	private int volumeInCm3;
	
	public Pepsi(int volumeInCm3) {
		if (volumeInCm3 <= 0) {
			throw new IllegalArgumentException("volumeInCm3 must be greater than zero");
		}
		this.volumeInCm3 = volumeInCm3;
	}

	public int getVolumeInCm3() {
		return volumeInCm3;
	}
	
}
